home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1995 September / JCSM Shareware Collection (September 30th 1995 Author to Vendor Edition) (JCS Distribution).ISO / genealog / 10740c01.ziv / VENDINST.BAT < prev   
DOS Batch File  |  1993-12-08  |  2KB  |  41 lines

  1. @echo off
  2. echo ┌───────────────────────────────────────────────────────────────────┐
  3. echo │  This batch file is provided for Vendors to install the program:  │
  4. echo │  Cumberland Story                                                 │
  5. echo │  to a diskette for distribution. A diskette sent to end users     │
  6. echo │  should contain the following three files.                        │
  7. echo │                                                                   │
  8. echo │                  INSTALL.EXE                                      │
  9. echo │                  INSTALL.CMD                                      │
  10. echo │                  CSTORY12.EXE                                     │
  11. echo │                                                                   │
  12. echo │  The INSTALL.EXE will not work unless you also label the diskette │
  13. echo │  with the label "CSTORY 1-1" (without quotations).                │
  14. echo │  Running this batch file will copy these three files and label    │
  15. echo │  the diskette in the destination drive.                           │
  16. echo └───────────────────────────────────────────────────────────────────┘
  17. pause
  18. if "%1"=="A:" goto good
  19. if "%1"=="B:" goto good
  20. if "%1"=="a:" goto good
  21. if "%1"=="b:" goto good
  22. echo ┌───────────────────────────────────────────────────────────────────┐
  23. echo │   You must specify Drive A: or Drive B: as the destination drive  │
  24. echo │          Example:    VENDINST A:                                  │
  25. echo └───────────────────────────────────────────────────────────────────┘
  26. goto ending
  27. :good
  28. echo Copying INSTALL.EXE to Drive %1
  29. copy install.exe %1
  30. echo Copying INSTALL.CMD to Drive %1
  31. copy install.cmd %1
  32. echo Copying CSTORY12.EXE to Drive %1
  33. copy cstory12.exe %1
  34. echo Labeling Diskette in Drive %1
  35. label %1 CSTORY 1-1
  36. echo ┌──────────────────────────────────────────────────────────────────┐
  37. echo │   Files succesfully copied!                                      │
  38. echo └──────────────────────────────────────────────────────────────────┘
  39. :ending
  40.  
  41.